<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <script type="text/javascript">
    // 给你一个对象let cat = {name: 'jack', age: 10}; 要求使用模板字符串显示cat的信息
    let cat = {name:'jack',age:10}
    let {name,age} = cat;
    let str = `cat的信息为name=${name} age=${age}`;
    console.log(str);
  </script>
</head>
<body>
</body>
</html>
